const managementRoutes = [
  {
    path: 'management',
    name: 'management',
    meta: { requiresAuth: true },
    children: [
      {
        path: 'student',
        name: 'student',
        children: [
          {
            path: 'info',
            name: 'studentInfo',
            component: () => import('@/views/Management/StudentManagement.vue')
          },
          {
            path: 'application',
            name: 'studentApplication',
            component: () => import('@/views/Application/StudentApplication.vue')
          }
        ]
      },
      {
        path: 'teacher',
        name: 'teacher',
        children: [
          {
            path: 'info',
            name: 'teacherInfo',
            component: () => import('@/views/Management/TeacherManagement.vue')
          },
          {
            path: 'application',
            name: 'teacherApplication',
            component: () => import('@/views/Application/TeacherApplication.vue')
          }
        ]
      }
    ]
  }
]
export default managementRoutes
